import './App.scss';
import routes from './router/routes'
import RouterView from './router/RouterView'
import React, { Component } from 'react';

class App extends Component {
 componentDidMount(){
  document.querySelector('.loading').remove()
 }
  render() {
    return (
      <div className='app'>
        <RouterView routes={routes}></RouterView>
      </div>
    );
  }
}

export default App;
